ToArray Method

Task Parallel System.Threading

Copies the elements contained in the IProducerConsumerCollection<(Of <(T>)>) to a new array.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Function ToArray As T()
C#
T[] ToArray()

Return Value

A new array containing the elements copied from the IProducerConsumerCollection<(Of <(T>)>).

See Also